export default class HotClass {
    private static instance: unknown;
    /**创建服务实例 */
    public static getInstance<T>() {

        const i = this.instance
        if (!i) {
            this.instance = new this();
        }
        return this.instance as T
    }
}